home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 090 / color.arc / COLOR.DOC < prev    next >
Text File  |  1987-01-08  |  6KB  |  124 lines

  1.     COLOR.COM       January 8, 1987
  2.  
  3.  
  4.     Purpose:    Sets the default screen display color.
  5.  
  6.     Format:     [d:][path]COLOR [tc] [bc]
  7.  
  8.     Type:       Internal  External
  9.                             ***
  10.  
  11.     Remarks:    Specify the parameters:
  12.  
  13.                 [d:][path] before COLOR to specify the drive and path
  14.                 that contains the COLOR command file.
  15.  
  16.                 [tc] to specify the text color number.
  17.  
  18.                 [bc] to specify the border color number.
  19.  
  20.     Notes:      The color numbers are described in the IBM PC Technical
  21.                 Reference Manual, and in the BASIC manual.
  22.  
  23.                 If no [bc] color number parameter is specified, the
  24.                 border color will default to the same color as the text
  25.                 background color.
  26.  
  27.                 If no [tc] color number is specified, an information
  28.                 screen will be displayed with a complete color chart to
  29.                 aid in selecting colors.
  30.  
  31.                 Color number 0 (black text on black background) for [tc]
  32.                 is defined as invalid.  This will cause the information
  33.                 screen to be displayed.  If you wish to black out the
  34.                 display, you may legally use color number 8 which is
  35.                 also black on black.
  36.  
  37.                 If an invalid number or alpha characters are entered for
  38.                 the [tc] or [bc] parameters, an error message will be
  39.                 displayed.  This condition may be tested for in a batch
  40.                 file as ERROR LEVEL = 1 for any failures.
  41.  
  42.     Examples:   COLOR 23 4           will set gray text on blue
  43.                                      background and red border
  44.  
  45.                 COLOR 14             will set yellow text on black
  46.                                      background and black border
  47.  
  48.                 COLOR                will display the information
  49.                                      screen with a color number chart
  50.  
  51.     Comments:   The first time COLOR is run, a title box and information
  52.                 on available memory is displayed. A small portion of the
  53.                 program then installs itself and remains resident in
  54.                 memory. Subsequent uses will not consume additional
  55.                 memory, and will clear the screen when setting the
  56.                 default display color.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.                 When the information screen is displayed, color numbers
  68.                 0 and 7 will be displayed in the currently active color.
  69.                 As stated above, color number 0 is defined as an illegal
  70.                 entry.  Color number 7 will set the default screen color
  71.                 to gray text on black background, even if it is
  72.                 displayed as some other color.
  73.  
  74.                 The new default color setting will work with most
  75.                 programs.  Any text the program displays in "color" will
  76.                 not be affected.  Any text the program displays in gray
  77.                 text on black background will be displayed in the new
  78.                 color setting.  If the program leaves the screen in a
  79.                 new color when the program is exited, the DOS command
  80.                 CLS (clear screen) will restore the new screen color.
  81.  
  82.     Disclaimer: No warranties of any kind are offered or implied with
  83.                 this program.
  84.  
  85.                 This program is written for the IBM PC with a Color
  86.                 Graphics Card (CGA) and has not been tested on other
  87.                 computers. It is written in assembly language, following
  88.                 normal programming practices and therefore should work
  89.                 on true compatables.
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.          +-----------------------------------------------------------+
  97.          |                     COLOR.COM                             |
  98.          |                                                           |
  99.          |   This program is offered as Shareware.  You are free     |
  100.          |   to copy, use, and share it with others as long as it    |
  101.          |   is not altered and this documentation and notice        |
  102.          |   accompany it.                                           |
  103.          |                                                           |
  104.          |   If you find this program useful, please support the     |
  105.          |   Shareware distribution concept by contributing $5.00    |
  106.          |   for the program.  In appreciation, you will be sent     |
  107.          |   a disk with the latest version of the program.  Also    |
  108.          |   included on the disk will be several additional         |
  109.          |   Crestwood Elite - Power Utilities that you will be      |
  110.          |   free to try as Shareware.                               |
  111.          |                                                           |
  112.          |   If you find any problems (bugs) in using this program,  |
  113.          |   please report it.                                       |
  114.          |                                                           |
  115.          +-----------------------------------------------------------+
  116.          |                                                           |
  117.          |    Jeff Kallevig                program name  COLOR.COM   |
  118.          |    Crestwood Elite              version number  _______   |
  119.          |    9804 Dell Road                                         |
  120.          |    Eden Prairie, MN  55344      contribution     $5.00    |
  121.          |                                                           |
  122.          +-----------------------------------------------------------+
  123.  
  124.